<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        p{
            font-size: 30px;/*谷歌/edge默认像素16px*/
            font-family: "宋体","幼圆";/*字体*//*前面字体找不到用后面,都找不到微软雅黑*/
        }
        a{
            text-decoration: underline;/*下划线*/
            text-decoration: line-through;/*删除线*/
            text-decoration: overline;/*顶线*/
            text-decoration: none;/*无线*/
        }
        div{
            width: 500px;
            height: 300px;
            border: 3px solid red;
            text-align: center;/*水平居中*/
            line-height: 300px;/*设置为和父级一样高即可垂直居中*/

        }
        span{
            font-width: bold;/*加粗*/
            font-width: lighter;/*细体*/
            font-weight: normal;/*正常体*/
            font-style: italic;/*斜体*/
        }
        h4{
            /*文字阴影:x轴偏移量 y轴偏移量 羽化值 颜色*/
            text-shadow: 5px 5px 5px red;
        }
    </style>
</head>
<body>
    <p>我是测试文字 123 ABC abc</p>
<a href="#">超链接</a>
<div>我是div</div>
<span>我是span</span>
<h4>测试文字</h4>

</body>
</html>